/**
 * Created by lenovo on 2017/5/10.
 */
public class split {
    public static String[] ss = new String[20];
    public split() {
        String s = "The rain in Spain falls mainly in the plain.";
        // 在每个空格字符处进行分解。
        ss = s.split(" ");
    }
    public static void main(String[] args) {
        split demo = new split();
        for (int i = 0; i < ss.length; i++)
            System.out.println(ss[i]);
    }
}